package com.lpc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lpc.beans.Department;
import com.lpc.beans.Msg;
import com.lpc.dao.DepartmentMapper;

/**
 * 作者: 李鹏程
 * 时间：2018年1月28日 下午5:52:52
 * 作用:
 */
@Service
public class DepartmentService {
	@Autowired
     private  DepartmentMapper  departmentMapper;
	
	public List<Department> getDeparts(){
		return departmentMapper.selectByExample(null);  	  
    }
}
